.class Lcom/instagram/android/directshare/b/a/n;
.super Lcom/instagram/android/d/k/o;
.source "FetchInboxRequest.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/instagram/android/d/k/o",
        "<",
        "Lcom/instagram/android/directshare/b/b/a;",
        ">;"
    }
.end annotation


# instance fields
.field private a:Lcom/instagram/android/directshare/b/b/a;


# direct methods
.method private constructor <init>()V
    .locals 0

    .prologue
    .line 64
    invoke-direct {p0}, Lcom/instagram/android/d/k/o;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Lcom/instagram/android/directshare/b/a/m;)V
    .locals 0
    .parameter

    .prologue
    .line 64
    invoke-direct {p0}, Lcom/instagram/android/directshare/b/a/n;-><init>()V

    return-void
.end method


# virtual methods
.method public a()Lcom/instagram/android/directshare/b/b/a;
    .locals 1

    .prologue
    .line 123
    iget-object v0, p0, Lcom/instagram/android/directshare/b/a/n;->a:Lcom/instagram/android/directshare/b/b/a;

    if-nez v0, :cond_0

    .line 124
    new-instance v0, Lcom/instagram/android/directshare/b/b/a;

    invoke-direct {v0}, Lcom/instagram/android/directshare/b/b/a;-><init>()V

    iput-object v0, p0, Lcom/instagram/android/directshare/b/a/n;->a:Lcom/instagram/android/directshare/b/b/a;

    .line 126
    :cond_0
    iget-object v0, p0, Lcom/instagram/android/directshare/b/a/n;->a:Lcom/instagram/android/directshare/b/b/a;

    return-object v0
.end method

.method public a(Lcom/fasterxml/jackson/a/l;)Z
    .locals 5
    .parameter

    .prologue
    const/4 v1, 0x0

    const/4 v0, 0x1

    .line 71
    :try_start_0
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->getCurrentName()Ljava/lang/String;

    move-result-object v2

    .line 73
    const-string v3, "shares"

    invoke-virtual {v3, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_2

    .line 74
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    .line 75
    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    .line 76
    :goto_0
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    move-result-object v3

    sget-object v4, Lcom/fasterxml/jackson/a/r;->e:Lcom/fasterxml/jackson/a/r;

    if-eq v3, v4, :cond_1

    .line 77
    invoke-static {p1}, Lcom/instagram/j/l;->a(Lcom/fasterxml/jackson/a/l;)Lcom/instagram/j/l;

    move-result-object v3

    invoke-interface {v2, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    .line 115
    :catch_0
    move-exception v0

    .line 116
    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v2

    const-string v3, "Parse error"

    invoke-static {v2, v3, v0}, Lcom/facebook/e/a/a;->a(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Throwable;)V

    move v0, v1

    .line 117
    :cond_0
    :goto_1
    return v0

    .line 79
    :cond_1
    :try_start_1
    invoke-virtual {p0}, Lcom/instagram/android/directshare/b/a/n;->a()Lcom/instagram/android/directshare/b/b/a;

    move-result-object v3

    .line 80
    invoke-virtual {v3, v2}, Lcom/instagram/android/directshare/b/b/a;->a(Ljava/util/List;)V

    goto :goto_1

    .line 82
    :cond_2
    const-string v3, "new_shares_info"

    invoke-virtual {v3, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_3

    .line 83
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    .line 84
    invoke-virtual {p0}, Lcom/instagram/android/directshare/b/a/n;->a()Lcom/instagram/android/directshare/b/b/a;

    move-result-object v2

    .line 85
    invoke-static {p1}, Lcom/instagram/android/directshare/d/c;->a(Lcom/fasterxml/jackson/a/l;)Lcom/instagram/android/directshare/d/c;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/instagram/android/directshare/b/b/a;->a(Lcom/instagram/android/directshare/d/c;)V

    goto :goto_1

    .line 87
    :cond_3
    const-string v3, "max_id"

    invoke-virtual {v3, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_4

    .line 88
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    move-result-object v2

    sget-object v3, Lcom/fasterxml/jackson/a/r;->m:Lcom/fasterxml/jackson/a/r;

    if-eq v2, v3, :cond_0

    .line 89
    invoke-virtual {p0}, Lcom/instagram/android/directshare/b/a/n;->a()Lcom/instagram/android/directshare/b/b/a;

    move-result-object v2

    .line 90
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->getText()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/instagram/android/directshare/b/b/a;->a(Ljava/lang/String;)V

    goto :goto_1

    .line 93
    :cond_4
    const-string v3, "subscription"

    invoke-virtual {v3, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_5

    .line 94
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    .line 95
    invoke-virtual {p0}, Lcom/instagram/android/directshare/b/a/n;->a()Lcom/instagram/android/directshare/b/b/a;

    move-result-object v2

    .line 96
    invoke-static {p1}, Lcom/instagram/android/directshare/b/b/a;->a(Lcom/fasterxml/jackson/a/l;)Lcom/instagram/realtimeclient/RealtimeSubscription;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/instagram/android/directshare/b/b/a;->a(Lcom/instagram/realtimeclient/RealtimeSubscription;)V

    goto :goto_1

    .line 98
    :cond_5
    const-string v3, "patches"

    invoke-virtual {v3, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_8

    .line 99
    :cond_6
    :goto_2
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    move-result-object v2

    sget-object v3, Lcom/fasterxml/jackson/a/r;->c:Lcom/fasterxml/jackson/a/r;

    if-eq v2, v3, :cond_0

    .line 100
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->getCurrentName()Ljava/lang/String;

    move-result-object v2

    .line 101
    const-string v3, "range"

    invoke-virtual {v3, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_7

    .line 102
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    .line 103
    invoke-virtual {p0}, Lcom/instagram/android/directshare/b/a/n;->a()Lcom/instagram/android/directshare/b/b/a;

    move-result-object v2

    .line 104
    invoke-static {p1}, Lcom/instagram/android/directshare/b/b/a;->c(Lcom/fasterxml/jackson/a/l;)Lcom/instagram/realtimeclient/RealtimePatchRange;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/instagram/android/directshare/b/b/a;->a(Lcom/instagram/realtimeclient/RealtimePatchRange;)V

    .line 105
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    goto :goto_2

    .line 106
    :cond_7
    const-string v3, "items"

    invoke-virtual {v3, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_6

    .line 107
    invoke-virtual {p1}, Lcom/fasterxml/jackson/a/l;->nextToken()Lcom/fasterxml/jackson/a/r;

    .line 108
    invoke-virtual {p0}, Lcom/instagram/android/directshare/b/a/n;->a()Lcom/instagram/android/directshare/b/b/a;

    move-result-object v2

    .line 109
    invoke-static {p1}, Lcom/instagram/android/directshare/b/b/a;->b(Lcom/fasterxml/jackson/a/l;)Ljava/util/Map;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/instagram/android/directshare/b/b/a;->a(Ljava/util/Map;)V
    :try_end_1
    .catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_0

    goto :goto_2

    :cond_8
    move v0, v1

    .line 114
    goto/16 :goto_1
.end method

.method public synthetic b()Ljava/lang/Object;
    .locals 1

    .prologue
    .line 64
    invoke-virtual {p0}, Lcom/instagram/android/directshare/b/a/n;->a()Lcom/instagram/android/directshare/b/b/a;

    move-result-object v0

    return-object v0
.end method
